message(STATUS "02_test_dilog execution - ${CMAKE_CURRENT_SOURCE_DIR}")

aux_source_directory(. SRC)

add_executable(02_test_dilog ${SRC})

# 开启编译器更多检测
if(COMPILEOPTIONS)
	include(ExtraWarnings)
	apply_extra_warnings_to_target(02_test_dilog)
endif()

target_include_directories(
	02_test_dilog 
	PRIVATE
	${3RD_DIR}/fmt/include
	${LIB_DIR}/01_fs
	${LIB_DIR}/03_dilog
	${LIB_DIR}/04_threadpool
)

target_link_libraries(
	02_test_dilog
	PRIVATE
	01_fs
	03_dilog
	fmt::fmt-header-only
)

if(USE_SPDLOGGER)
	target_include_directories(
		02_test_dilog 
		PRIVATE
		${3RD_DIR}/spdlog/include
	)

	target_link_libraries(
		02_test_dilog
		PRIVATE
		spdlog::spdlog_header_only
	)
endif()